oblivious to (the) surroundings

Translations
не замечающий (окружающую) обстановку
He was oblivious to the surroundings while lost in thought.
Он не замечал окружающую обстановку, погружённый в мысли.